//
//  SYNewDynamicViewController.h
//  ChatDemo-UI2.0
//
//  Created by zz on 16/11/28.
//  Copyright © 2016年 zz. All rights reserved.
//

#import "SYBaseViewController.h"
#import "UserDynamicViewController.h"
//#import "StudentViewController.h"
#import "DFBaseLineItem.h"
#import "replayView.h"

@interface SYNewDynamicViewController : SYBaseViewController<UITextViewDelegate>{
    
    NSString *lasttype;
    BOOL  isZhan;
    UIButton *zanBtn;
    UIButton *pingBtn;
    UIButton *cangBtn;
    NSDictionary * studentImformation;
    NSString *childID;
    UILabel *nickLabel;//默认头像上的名称
    UIImageView *nodataImage;
    UIImageView *img;
    UIControl *control;

}

@property(nonatomic,strong)UIView *view_back;
@property(nonatomic,strong)UIView *backView;
@property(nonatomic,strong)NSString *p_infoid;

//发送动态
-(void)dis:(id)sender;


@end

@interface FriendDynamicViewCell : UITableViewCell

@property (nonatomic, strong) UILabel *nameLabel;   //姓名label
@property (nonatomic, strong) UILabel *contentLabel;  //内容label
@property (nonatomic, strong) UILabel *timeLabel;  //时间label
@property (nonatomic,strong)UIButton *clickBtn;  //交互按钮
@property (nonatomic,strong)UIButton *deleteBtn; //删除按钮，可以删除自己所发的动态


//头像
@property (nonatomic,strong) XZHeaderImageView *headImage;

//图片数组
@property (nonatomic,strong) NSArray *images;

//保存imageView的可变数组
@property (nonatomic,strong) NSMutableArray *imageArr;

//图片背景View
@property (nonatomic,strong) UIView *bgView;

@property(nonatomic,strong) UIView *praiseview; //点赞的view

@property(nonatomic,strong) UITableView *replayView; //回复的view

@property(nonatomic,strong) NSMutableArray *replayArrm; //回复的数据源

@property (nonatomic, strong) NSArray *funtitles;

@property (nonatomic, strong) NSMutableArray *btnArray;

@property (nonatomic, strong) replayView *likeCommentView;
@property (nonatomic,strong) DFBaseLineItem *item;



- (CGRect)upDateCellWithDic:(NSDictionary *)dict;

@end
